﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/layout.Master" AutoEventWireup="true" CodeBehind="RSLocationHistoryInvoices.aspx.cs" Inherits="mojoPortal.Web.RS.SBM.RSLocationHistoryInvoices" %>
<%@ Register Src="controls/invoicelistcontrol.ascx" TagName="LocationInvoiceListControl" TagPrefix="uc1" %>
<%@ Register Src="~/rs/controls/modalviewmapcontrol.ascx" TagName="ModalViewMapControl" TagPrefix="uc1" %>
<%@ Register Src="controls/locationheadercontrol.ascx" TagName="LocationHeaderControl" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="leftContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">

<uc1:LocationHeaderControl ID="ucLocationHeaderControl" runat="server"/>

<center>
<asp:UpdateProgress ID="UpdateProgress" runat="server" >
<ProgressTemplate>
    <asp:Image ID="imgLoading" runat="server" ImageUrl="~/RS/Images/loading-spiral.gif" />
</ProgressTemplate>
</asp:UpdateProgress>
</center>
<ajaxToolkit:TabContainer ID="tcLocationHistory" runat="server" ScrollBars="Auto" AutoPostBack="true" CssClass="fancy" Width="100%" 
 OnActiveTabChanged="tcLocationHistory_OnActiveTabChanged" ActiveTabIndex="5">
<ajaxToolkit:TabPanel ID="tpLocationCall" runat="server" HeaderText="Service Calls">
    <ContentTemplate>
        
        <asp:Panel id="pnlLocationCall" runat="server">
        
        </asp:Panel>
                                             
    </ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="tpLocationContact" runat="server" HeaderText="Contacts">
    <ContentTemplate>
  
        <asp:Panel id="pnlLocationContact" runat="server">

        </asp:Panel>
      
    </ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="tpLocationVisit" runat="server" HeaderText="Visits">
    <ContentTemplate>
    
        <asp:Panel id="pnlLocationAppointment" runat="server">

        </asp:Panel>
                                                
    </ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="tcpLocationEstimate" runat="server" HeaderText="Estimates">
    <ContentTemplate>
 
        <asp:Panel id="pnlLocationEstimate" runat="server">

        </asp:Panel>
                                               
    </ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="tcpLocationWorkOrders" runat="server" HeaderText="Work Orders">
    <ContentTemplate>
 
        <asp:Panel id="pnlLocationWorkOrder" runat="server">

        </asp:Panel>
                                               
    </ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="tpLocationInvoice" runat="server" HeaderText="Invoices">
    <ContentTemplate>
        <br />
        <center><asp:Button ID="btnAdHocInvoice" runat="server" Text="Create Quick Invoice" OnClick="btnAdHocInvoice_Click" /></center>
        <uc1:LocationInvoiceListControl ID="ucLocationInvoiceListControl" runat="server"/>

    </ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>

<br />
<uc1:ModalViewMapControl ID="ucModalViewMapControl" runat="server" />

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="rightContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pageEditContent" runat="server">
</asp:Content>
